# $OpenBSD: files.i2c,v 1.51 2013/03/31 13:30:24 kettenis Exp $
#	$NetBSD: files.i2c,v 1.3 2003/10/20 16:24:10 briggs Exp $

define	i2c {[addr = -1], [size = -1]}
device	iic: i2c
attach	iic at i2cbus
file	dev/i2c/i2c.c				iic | i2cbus
file	dev/i2c/i2c_exec.c			iic | i2cbus
file	dev/i2c/i2c_scan.c			iic | i2cbus

file	dev/i2c/i2c_bitbang.c			i2c_bitbang

#
# I2C client devices
#

# National Semiconductor LM75/LM77 temperature sensor
device	lmtemp
attach	lmtemp at i2c
file	dev/i2c/lm75.c				lmtemp

# National Semiconductor LM93 sensor
device	lmn
attach	lmn at i2c
file	dev/i2c/lm93.c				lmn

# National Semiconductor LM87 sensor
device	lmenv
attach	lmenv at i2c
file	dev/i2c/lm87.c				lmenv

# Maxim MAX6690 Remote/Local Temperature sensor
device	maxtmp
attach	maxtmp at i2c
file	dev/i2c/maxim6690.c			maxtmp

# Analog Devices AD741x Temperature sensor + 4-channel ADC
device	adc
attach	adc at i2c
file	dev/i2c/ad741x.c			adc

# TAOS TSL2560/61 light-to-digital converter
device	tsl
attach	tsl at i2c
file	dev/i2c/tsl2560.c			tsl

# ADM1021
device	admtemp
attach	admtemp at i2c
file	dev/i2c/adm1021.c			admtemp

# ADM1024
device	admlc
attach	admlc at i2c
file	dev/i2c/adm1024.c			admlc

# ADM1025
device	admtm
attach	admtm at i2c
file	dev/i2c/adm1025.c			admtm

# ADM1030
device	admtmp
attach	admtmp at i2c
file	dev/i2c/adm1030.c			admtmp

# ADM1031
device	admtt
attach	admtt at i2c
file	dev/i2c/adm1031.c			admtt

# PCA9554
device	pcagpio: gpiobus
attach	pcagpio at i2c
file	dev/i2c/pca9554.c			pcagpio

# Maxim DS1631
device	maxds
attach	maxds at i2c
file	dev/i2c/ds1631.c			maxds

# Apple FCU
device	fcu
attach	fcu at i2c
file	dev/i2c/fcu.c				fcu

# Apple ADT
device	adt
attach	adt at i2c
file	dev/i2c/adt7460.c			adt

# National Semiconductor LM78/79/81 and compatible hardware monitors
attach lm at i2c with lm_i2c
file	dev/i2c/lm78_i2c.c			lm_i2c

# ADM1026
device	admcts
attach	admcts at i2c
file	dev/i2c/adm1026.c			admcts

# ASB100
device	asbtm
attach	asbtm at i2c
file	dev/i2c/asb100.c			asbtm

# Winbond W83L784R/W83L875R/W83L785TS-L
device	wbenv
attach	wbenv at i2c
file	dev/i2c/w83l784r.c			wbenv

# Winbond W83793G
device	wbng
attach	wbng at i2c
file	dev/i2c/w83793g.c			wbng

# Nuvoton W83795G
device	nvt
attach	nvt at i2c
file	dev/i2c/w83795g.c			nvt

# Genesys Logic GL518SM
device	glenv
attach	glenv at i2c
file	dev/i2c/gl518sm.c			glenv

# RICOH RS5C372[AB] Real Time Clock
device	ricohrtc
attach	ricohrtc at i2c
file	dev/i2c/rs5c372.c			ricohrtc

# Fintek F75375
device	fintek
attach	fintek at i2c
file	dev/i2c/fintek.c			fintek

# Philips Semiconductor PCA9532
device	pcaled: gpiobus
attach	pcaled at i2c
file	dev/i2c/pca9532.c			pcaled

# Andigilog aSC7621
device	adl
attach	adl at i2c
file	dev/i2c/asc7621.c			adl

# Andigilog aSC7611
device	andl
attach	andl at i2c
file	dev/i2c/asc7611.c			andl

# TI TMHC50 / Analog ADM1022
device	thmc
attach	thmc at i2c
file	dev/i2c/thmc50.c			thmc

# SPD Memory EEPROM
attach	spdmem at i2c with spdmem_iic
file	dev/i2c/spdmem_i2c.c			spdmem

# SO-DIMM (JC-42.4) temperature sensor
device	sdtemp
attach	sdtemp at i2c
file	dev/i2c/sdtemp.c			sdtemp

device	adtfsm
attach	adtfsm at i2c
file	dev/i2c/adt7462.c			adtfsm

# STMicroelectronics LIS331DL MEMS motion sensor
device	lisa
attach	lisa at i2c
file	dev/i2c/lis331dl.c			lisa

